package edu.zut.cs.software.estateagent.logon.service.impl;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import edu.zut.cs.software.base.service.impl.GenericManagerImpl;
import edu.zut.cs.software.estateagent.logon.dao.LogonDao;
import edu.zut.cs.software.estateagent.logon.domain.Logon;
import edu.zut.cs.software.estateagent.logon.service.LogonManager;

@Component
@Transactional
public class LogonManagerImpl extends GenericManagerImpl<Logon, Long> implements LogonManager {

	LogonDao logonDao;

	@Override
	public Logon findbyUsername(String username) {
		// TODO Auto-generated method stub
		return null;
	}

	@Autowired
	public void setLogonDao(LogonDao logonDao) {
		this.logonDao = logonDao;
		this.dao = this.logonDao;
	}

}
